package com.ybkj.o2o.zhuanche.mapper;

import com.ybkj.o2o.zhuanche.entity.PayRecordOrder;
import com.ybkj.o2o.zhuanche.entity.PayRecordOrderCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface PayRecordOrderMapper extends
    BaseMapper<PayRecordOrder, PayRecordOrderCriteria, Long> {
  Long countByExample(PayRecordOrderCriteria example);

  int deleteByExample(PayRecordOrderCriteria example);

  int deleteByPrimaryKey(Long id);

  int insert(PayRecordOrder record);

  int insertSelective(PayRecordOrder record);

  List<PayRecordOrder> selectByExampleWithRowbounds(PayRecordOrderCriteria example,
      RowBounds rowBounds);

  List<PayRecordOrder> selectByExample(PayRecordOrderCriteria example);

  PayRecordOrder selectByPrimaryKey(Long id);

  int updateByExampleSelective(@Param("record") PayRecordOrder record,
      @Param("example") PayRecordOrderCriteria example);

  int updateByExample(@Param("record") PayRecordOrder record,
      @Param("example") PayRecordOrderCriteria example);

  int updateByPrimaryKeySelective(PayRecordOrder record);

  int updateByPrimaryKey(PayRecordOrder record);

  
  
  PayRecordOrder findById(@Param("id")Long id);
}
